﻿namespace Fetches.Fetch.Dto
{
    /// <summary>
    /// Fetch进度
    /// </summary>
    public class FetchTaskProgress
    {
        /// <summary>
        /// 任务状态
        /// </summary>
        public FetchTaskStatus Status { get; set; }

        /// <summary>
        /// 爬取成功页面总数
        /// </summary>
        public int Success { get; set; }

        /// <summary>
        /// 爬取失败页面总数
        /// </summary>
        public int Failure { get; set; }

        /// <summary>
        /// 剩余待爬取页面总数
        /// </summary>
        public int Remains { get; set; }
    }
}
